home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 15166 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: newsbf02.news.aol.com!not-for-mail
  2. From: jessdavis@aol.com (Jessdavis)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: gnu c++
  5. Date: 3 Apr 1996 19:34:54 -0500
  6. Organization: America Online, Inc. (1-800-827-6364)
  7. Sender: root@newsbf02.news.aol.com
  8. Message-ID: <4jv5fe$ls@newsbf02.news.aol.com>
  9. References: <3162F6C7.4372E97A@arbornet.org>
  10. NNTP-Posting-Host: newsbf02.mail.aol.com
  11. X-Newsreader: AOL Offline Reader
  12.  
  13. In article <3162F6C7.4372E97A@arbornet.org>, anthony <void@arbornet.org>
  14. writes:
  15.  
  16. >does anyone know if g++ does templates?  i've heard some people say they
  17. >had problems, but never heard any answers.
  18. >
  19. >thanks for any comments.
  20. >anthony
  21.  
  22. Yes, g++ does incorporate templates. In the g++/libg++ documentation that
  23. is provided, the author explains several ways to properly incorporate
  24. templates
  25. into your source code.  
  26.  
  27. I currently have source in production that utilizes the g++/libg++
  28. template
  29. construction.  The approach that we have taken is to follow the Borland
  30. concept and pretend that all of the overhead is handled for you.  This has
  31. required the use of the -fno-implict-templates argument to g++. 
  32. Especially
  33. with regards to libraries.
  34.  
  35. Hope this helps...
  36.  
  37. Jesse (jessdavis@aol.com, jdavis@micros.com)
  38.  
  39. "Rule of thumb, if it compiles cleanly the first time, check it again!!!"
  40.  
  41.   author: frustrated programmer in the corner, somewhere...
  42.  
  43.  
  44.  
  45. Jesse
  46.